import Taro, {Component} from '@tarojs/taro'
import {View} from '@tarojs/components'

export default class CustomComp extends Component {
  static externalClasses = ['my-class']

  render () {
    return (
      <View>
        <View className='my-class'>这段文本的颜色由组件外的 class 决定 (失败了)</View>
      </View>
    )
  }
}
